import { useAuthStore } from "@/stores/modules/auth";

export const authBtns = (value: string) => {
  const { authButtonListGet } = useAuthStore();

  const index = (authButtonListGet as any).findIndex((e: any) => e.api_name === value);

  if (index === -1) return false;
  return true;
};
